/****************************************************************************

	COPYRIGHT(C) MAXSI SOFTWARE, JONAS 'SORTIE' TERMANSEN 2008, 2009, 2010

    This file is part of Maxsi Extractor.

    Maxsi Extractor is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Maxsi Extractor is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with Maxsi Extractor.  If not, see <http://www.gnu.org/licenses/>.

	*/ #include "MaxsiExtractorContributors.h" /*

	If you modify this file, please enter your name below and provide contact
	information in MaxsiExtractorContributors.h. For more information please see
	MaxsiExtractorContributors.h.
	
	Contributors to this file:

	- Jonas 'Sortie' Termansen
	- [your name here]


	MaxsiExtractor.exe
	A self-extracting application able to store a series of files inside it
	and able to extract these files to the current working directory, run the
	files, and once done, delete all the files.

	Main.h
	Basic WIN32 functions and stuff

****************************************************************************/

#ifndef Main_H
#define Main_H

	class MaxsiExtractor : public ME_Win32Entry
	{
		Declare_Class(MaxsiExtractor,ME_Win32Entry);

	public:
					int WINAPI			WinMain				(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow);
					BOOL				InitApplication		(HANDLE hInstance);
					BOOL				InitInstance		(HINSTANCE hInstance, INT nCmdShow);
					LRESULT APIENTRY	WindowProc			(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
					DWORD				OnThreadRegistered	(HWND hWnd);

	};

	ME_WIN32ENTRYPOINT_H(MaxsiExtractor);

#endif